<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<h1>字符串,整数,布尔,数组</h1>
		<script type="text/javascript">
			var str="javascript 的数据类型";
			console.log(str);
			var i=100;
			console.log(i);
			var isMan=true;
			console.log(isMan);
			 var hobby=["乒乓球","唱歌","爬山","it计算机"];
			 console.log(hobby);
			 console.log(hobby[0]);
			 console.log(hobby[4-1]);
			 console.log(hobby[hobby.length-1]);
		</script>
	</body>
</html>
